﻿using AnQinFrameWorkAPI.Common.Enum;

namespace AnQinFrameWorkAPI.Entity.Blog.View.BlogText;

/// <summary>
///     博客文章视图
/// </summary>
public class BlogTextView
{
    /// <summary>
    ///     博客文章id
    /// </summary>
    public string Id { get; set; }

    /// <summary>
    ///     博客用户id
    /// </summary>
    public string UserId { get; set; }

    /// <summary>
    ///     博客用户编码
    /// </summary>
    public string UserCode { get; set; }

    /// <summary>
    ///     博客用户名称
    /// </summary>
    public string UserName { get; set; }

    /// <summary>
    ///     博客用户头像
    /// </summary>
    public string? UserHeadImage { get; set; }

    /// <summary>
    ///     博客文章编码
    /// </summary>
    public string Code { get; set; }

    /// <summary>
    ///     博客文章标题
    /// </summary>
    public string Name { get; set; }

    /// <summary>
    ///     博客文章内容
    /// </summary>
    public string Content { get; set; }

    /// <summary>
    ///     博客文章阅读量
    /// </summary>
    public int ReadCount { get; set; }

    /// <summary>
    ///     审核状态
    /// </summary>
    public BlogEnum.ExamStatusEnum Status { get; set; }

    /// <summary>
    ///     创建时间
    /// </summary>
    public DateTime CreateTime { get; set; }
}